﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Engine.MarchCube
{
    public struct DataStructure
    {
        byte m_Type;
        byte m_Val;
        public byte TypeData
        {
            get { return m_Type; }
            set { m_Type = value;}
        }
        public byte Value
        {
            get { return m_Val; }
            set { m_Val = value; }
        }
        public DataStructure(byte type,byte val)
        {
            m_Type = type;
            m_Val = val;
        }
    }
    public class DataGrind
    {
        DataStructure[,,] m_Data;
        int m_Size;        
        public DataGrind(int Size)
        {
            m_Data = new DataStructure[Size, Size, Size];
            m_Size = Size;
        }



        public DataStructure this[int x,int y,int z]
        {
            get { return m_Data[x, y, z]; }
            set { m_Data[x, y, z]=value; }
        }


    }
}
